package com.k_abstract;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2024/4/15 16:18
 * alt+enter 自动生成代码
 */
public class Dog extends Animal {
    @Override
    public void eat() {
        //sout+回车
        System.out.println("狗吃狗粮");
    }

    @Override
    public void drink() {
        System.out.println("狗喝水");
    }
}
